﻿using System;
using System.Linq;
using System.IO;
using System.IO.IsolatedStorage;
using System.Collections.Generic;
using Microsoft.LightSwitch;
using Microsoft.LightSwitch.Framework.Client;
using Microsoft.LightSwitch.Presentation;
using Microsoft.LightSwitch.Presentation.Extensions;
namespace LightSwitchApplication
{
    public partial class EditableProductGroups
    {
        partial void ProductsEditSelected_CanExecute(ref bool result)
        {
            // Write your code here.

        }

        partial void ProductsEditSelected_Execute()
        {
            if (Products.SelectedItem != null) this.Application.ShowProductDetail(Products.SelectedItem.Id);
        }

        partial void ProductsAddAndEditNew_CanExecute(ref bool result)
        {
            // Write your code here.

        }

        partial void ProductsAddAndEditNew_Execute()
        {
            // Write your code here.

        }
    }
}
